package oop2.exer2;

/**
 * Created with IntelliJ IDEA.
 * ClassName: Customer
 * Package: oop2.exer2
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-21
 * Time: 16:00
 */

//客户类
public class Customer {

    private String firstName;  //名
    private String lastName;  //姓

    //账户
    private Account account;

    public Customer(String f,String l){
        this.firstName = f;
        this.lastName = l;

    }

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }
}
